﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="DynDns.login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentServer" runat="server">
    <div style="position: absolute; width:400px; height: 250px; margin-left: -200px; margin-top: -125px; top: 40%; left: 50%; background-color: #fff; ">
    <table class="loginMainTable">
        <tr class="loginMainTableHead">
            <td>
                <div style="float: left; display: table-cell; margin-bottom: 18px; margin-top: 4px;"><h4>Login</h4></div>                
                <div style="display: table-cell; float: right; margin-right: 5px; margin-top: -5px  "><asp:Image ID="Image1" runat="server" ImageUrl="~/layout/logo.png" /></div> 
            </td>
        </tr>
        <tr>
            <td>
                <table class="loginTable">
                   <tr>
                      <td>User:</td>
                      <td><input id="txtUserName" type="text" runat="server"/></td>
                      <td><ASP:RequiredFieldValidator ControlToValidate="txtUserName" Display="Static" ErrorMessage="*" runat="server" ID="RequiredFieldValidator1" /></td>
                   </tr>
                   <tr>
                      <td>Password:</td>
                      <td><input id="txtUserPass" type="password" runat="server"/></td>
                      <td><ASP:RequiredFieldValidator ControlToValidate="txtUserPass" Display="Static" ErrorMessage="*" runat="server" ID="RequiredFieldValidator2" />
                      </td>
                   </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td style="font-size: small; font-weight: normal">
                Eingeloggt bleiben: <ASP:CheckBox id="chkPersistCookie" runat="server" autopostback="false" />
            </td>
        </tr>
        <tr>
            <td>
    <asp:Button ID="btnLogin" runat="server" Text="Logon" 
        onclick="btnLogin_Click" CssClass="myButton" />

    <asp:Label id="lblMsg" ForeColor="red" Font-Name="Verdana" Font-Size="10" runat="server" />

            </td>
        </tr>
    </table>
    </div>
</asp:Content>
